<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>青春花语--购物车</title>
    <link rel="stylesheet" href="../CSS/shoppingcar.css">
    <link rel="stylesheet" href="../CSS/public.css">
    <script src="../js/shoppingcar.js"></script>
</head>
<body>
    <!-- 头部导航 -->
    <div class="top-nav">
        <ul>
            <li><a href="../index.html"><span>|</span>青春花语首页<span>|</span></a></li>
            <li><a href="../HTML/shopping_mall.html"><span>|</span>商城<span>|</span></a>
            </li>
            <li><a href="../HTML/collect.html"><span>|</span>商品收藏<span>|</span></a>
            </li>
            <li><a href="../HTML/contact.html"><span>|</span>联系客服<span>|</span></a>
            </li>
            <li><a href="../HTML/login.html"><span>|</span>欢迎登录青春花语<span>|</span></a>
            </li>
            <li><a href="../HTML/register.html"><span>|</span>免费注册<span>|</span></a>
            </li>
            <li><a href="../HTML/person.html"><span>|</span>个人资料<span>|</span></a>
            </li>
            <li><a href="../HTML/my_order.html"><span>|</span>我的订单<span>|</span></a>
            </li>
        </ul>
    </div>
    <div id="cart-container">  
        <h2>购物车</h2>  
        <table id="cart-table">  
            <thead>  
                <tr>  
                    <th><input type="checkbox" id="selectAllCheckbox"></th>
                    <th>商品图片</th>  
                    <th>商品名称</th>  
                    <th>(¥)单价</th>  
                    <th>数量</th>  
                    <th>小计(元)</th>  
                    <th>操作</th>  
                </tr>  
            </thead>  
            <tbody id="cartItems"></tbody>  
        </table>  
        <div id="cartSummary">  
            <p>已选商品数量: <span id="selectedCount">0</span></p>  
            <p>总计: <span id="totalPrice">0</span></p>  
        </div>
        <button id="checkoutButton">结算</button>  
    </div>  
    
</body>
</html>